package org.vehicle.vo;

import java.io.Serializable;
import java.util.HashMap;

/**
 * 
 * @author 韩鹏
 *
 */
public class DataSourceRequest implements Serializable{
	private Integer page;
	private Integer pageSize;
	private HashMap<String,Object> data;
	private HashMap<String,Object> objs;
	
	public void addObjData(String field,Object value){
		data.put(field, value);
	}

	public Object getObjValue(String field){
		return data.get(field);
	}
	
	public DataSourceRequest(int page, int pageSize) {
		this.page = page;
		this.pageSize = pageSize;
	}

	public DataSourceRequest() {
		data=new HashMap<String,Object>();
	}
	public Integer getPage() {
		return page;
	}
	public void setPage(Integer page) {
		this.page = page;
	}
	public Integer getPageSize() {
		return pageSize;
	}

	public HashMap<String, Object> getData() {
		return data;
	}

	public void setData(HashMap<String, Object> data) {
		this.data = data;
	}

	public void setPageSize(Integer pageSize) {
		this.pageSize = pageSize;
	}

	public HashMap<String, Object> getObjs() {
		return objs;
	}
}
